<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\UserCreate
 *
 * @property integer $id
 * @property integer $user_id
 * @property string $company
 * @property string $position
 * @property string $start_time
 * @property string $end_time
 * @property integer $status
 * @property string $check_time
 * @property string $deleted_at
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @property-read \App\User $toUser
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereCompany($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate wherePosition($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereStartTime($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereEndTime($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereStatus($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereCheckTime($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereDeletedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereCreatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereUpdatedAt($value)
 * @property integer $project_id
 * @method static \Illuminate\Database\Query\Builder|\App\UserCreate whereProjectId($value)
 */
class UserCreate extends Model {

	//表名
    protected $table = 'user_create' ;
    use SoftDeletes;

    /** 关联用户表 */
    public function toUser()
    {
        return $this->belongsTo('App\User' ,'user_id' ) ;
    }

}
